package cn.jy.map.domain;

import java.util.HashMap;
import java.util.Map;

/**
 * 所有供浆者的采浆情况
 * @author Administrator
 *
 */
public class AllGjzCollSituation {

	private int sumGjzNum;//浆员数量
	private int sumCollNum;//总浆量
	
	private ThisYearGjzType thisYearComedGjz;//今年已来过的浆员
	private ThisYearGjzType thisYearNotComed;//今年没来过的浆员
	
	
	public int getSumGjzNum() {
		return sumGjzNum;
	}

	public void setSumGjzNum(int sumGjzNum) {
		this.sumGjzNum = sumGjzNum;
	}

	public int getSumCollNum() {
		return sumCollNum;
	}

	public void setSumCollNum(int sumCollNum) {
		this.sumCollNum = sumCollNum;
	}

	public ThisYearGjzType getThisYearComedGjz() {
		return thisYearComedGjz;
	}

	public void setThisYearComedGjz(ThisYearGjzType thisYearComedGjz) {
		this.thisYearComedGjz = thisYearComedGjz;
	}

	public ThisYearGjzType getThisYearNotComed() {
		return thisYearNotComed;
	}

	public void setThisYearNotComed(ThisYearGjzType thisYearNotComed) {
		this.thisYearNotComed = thisYearNotComed;
	}

	/**
	 * 今年的供浆者类型
	 * @author Administrator
	 *
	 */
	public static class ThisYearGjzType{
		
		private int sumGjzNum;//浆员数量
		private int sumCollNum;//总浆量
		private float zhanBi;//浆员占比
		
		private GjzAllType zcGjz;//忠诚浆员
		private GjzAllType fsGjz;//复苏浆员
		private GjzAllType xmGjz;//休眠浆员
		private GjzAllType lsGjz;//流失浆员
		private GjzAllType newGjz;//新浆员
		public int getSumGjzNum() {
			return sumGjzNum;
		}
		public void setSumGjzNum(int sumGjzNum) {
			this.sumGjzNum = sumGjzNum;
		}
		public int getSumCollNum() {
			return sumCollNum;
		}
		public void setSumCollNum(int sumCollNum) {
			this.sumCollNum = sumCollNum;
		}
		public float getZhanBi() {
			return zhanBi;
		}
		public void setZhanBi(float zhanBi) {
			this.zhanBi = zhanBi;
		}
		public GjzAllType getZcGjz() {
			return zcGjz;
		}
		public void setZcGjz(GjzAllType zcGjz) {
			this.zcGjz = zcGjz;
		}
		public GjzAllType getFsGjz() {
			return fsGjz;
		}
		public void setFsGjz(GjzAllType fsGjz) {
			this.fsGjz = fsGjz;
		}
		public GjzAllType getXmGjz() {
			return xmGjz;
		}
		public void setXmGjz(GjzAllType xmGjz) {
			this.xmGjz = xmGjz;
		}
		public GjzAllType getLsGjz() {
			return lsGjz;
		}
		public void setLsGjz(GjzAllType lsGjz) {
			this.lsGjz = lsGjz;
		}
		public GjzAllType getNewGjz() {
			return newGjz;
		}
		public void setNewGjz(GjzAllType newGjz) {
			this.newGjz = newGjz;
		}
		
	}
	/**
	 * 供浆者所有的类型
	 * @author Administrator
	 *
	 */
	public static class GjzAllType{
		private int sumGjzNum;//浆员数量
		private int sumCollNum;//总浆量
		private float zhanBi;//浆员占比（父一级占比：占今年来过或者未来过的占比）
		private float zhanBiAll;//浆员占比（祖先一级占比：占总浆员的占比）
		
		private GjzChildType allChildByYear;//所有浆员子类型

		public int getSumGjzNum() {
			return sumGjzNum;
		}

		public void setSumGjzNum(int sumGjzNum) {
			this.sumGjzNum = sumGjzNum;
		}

		public int getSumCollNum() {
			return sumCollNum;
		}

		public void setSumCollNum(int sumCollNum) {
			this.sumCollNum = sumCollNum;
		}

		public float getZhanBi() {
			return zhanBi;
		}

		public void setZhanBi(float zhanBi) {
			this.zhanBi = zhanBi;
		}

		public float getZhanBiAll() {
			return zhanBiAll;
		}

		public void setZhanBiAll(float zhanBiAll) {
			this.zhanBiAll = zhanBiAll;
		}

		public GjzChildType getAllChildByYear() {
			return allChildByYear;
		}

		public void setAllChildByYear(GjzChildType allChildByYear) {
			this.allChildByYear = allChildByYear;
		}

	
	}
	
	/**
	 * 浆员子类型
	 */
	public static class GjzChildType{
		private Map<String,Object> last1YearNewGjz = new HashMap<String,Object>();//去年新人
		private Map<String,Object> last2YearNewGjz = new HashMap<String,Object>();//前年新人
		private Map<String,Object> last3YearNewGjz = new HashMap<String,Object>();//大前年新人
		private Map<String,Object> lastNYearNewGjz = new HashMap<String,Object>();//大前年之前新人

		
		public Map<String, Object> getLast1YearNewGjz() {
			return last1YearNewGjz;
		}
		public void setLast1YearNewGjz(Map<String, Object> last1YearNewGjz) {
			this.last1YearNewGjz = last1YearNewGjz;
		}
		public Map<String, Object> getLast2YearNewGjz() {
			return last2YearNewGjz;
		}
		public void setLast2YearNewGjz(Map<String, Object> last2YearNewGjz) {
			this.last2YearNewGjz = last2YearNewGjz;
		}
		public Map<String, Object> getLast3YearNewGjz() {
			return last3YearNewGjz;
		}
		public void setLast3YearNewGjz(Map<String, Object> last3YearNewGjz) {
			this.last3YearNewGjz = last3YearNewGjz;
		}
		public Map<String, Object> getLastNYearNewGjz() {
			return lastNYearNewGjz;
		}
		public void setLastNYearNewGjz(Map<String, Object> lastNYearNewGjz) {
			this.lastNYearNewGjz = lastNYearNewGjz;
		}
		
	}
}
